import { IsNotEmpty, IsString } from 'class-validator';

export class CreateBianhuantuDto {
  @IsNotEmpty({ message: '名称不能为空' })
  @IsString()
  mingcheng: string;

  @IsString()
  tupian?: string;
}
